// 模块化组件相关scss
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.2;
  }
}

.list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  left: 0px;
  width: 100vw;
  padding-left: 10vh;
  padding-right: 10vh;
  &.fix__col-1-3::after {
    content: "";
    width: 30.5%;
  }
  &.fix__col-1-4::after {
    content: "";
    width: 24%;
  }
  &.nopd {
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (min-width: 2200px) {
  .list {
    padding-left: 20vh;
    padding-right: 20vh;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .list {
    padding-left: 5vh;
    padding-right: 5vh;
  }
}

@media screen and (max-width: 767px) {
  .list {
    padding-left: 20px;
    padding-right: 20px;
    width: 100vw;
  }
}

.list .list__col-1 {
  width: 100%;
  -ms-flex-item-align: center;
  -ms-list-row-align: center;
  align-self: center;
}

.list .list__col-1-2 {
  width: 48%;
  -ms-flex-item-align: center;
  -ms-list-row-align: center;
  align-self: center;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .list .list__col-1-2 {
    width: 48%;
  }
}

@media screen and (max-width: 767px) {
  .list .list__col-1-2 {
    width: 100%;
  }
}

.list .list__block-1-2 {
  width: 50%;
  -ms-flex-item-align: center;
  -ms-list-row-align: center;
  align-self: center;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .list .list__block-1-2 {
    width: 48%;
  }
}

@media screen and (max-width: 767px) {
  .list .list__block-1-2 {
    width: 100%;
  }
}

.list .list__col-1-3 {
  width: 30.5%;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .list .list__col-1-3 {
    width: 48%;
  }
}

@media screen and (max-width: 767px) {
  .list .list__col-1-3 {
    width: 100%;
    max-width: 768px;
  }
}

.list .list__col-1-4 {
  width: 24%;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .list .list__col-1-4 {
    width: 33%;
  }
}

@media screen and (max-width: 767px) {
  .list .list__col-1-4 {
    width: 100%;
    max-width: 768px;
  }
}

.textBlockLight {
  font-family: "gilroy", Sans-Serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 300;
  margin-bottom: -0.4rem;
  margin-top: -0.45rem;
}

@media screen and (min-width: 2200px) {
  .textBlockLight {
    font-size: 1.4rem;
    line-height: 2.1rem;
    margin-bottom: -0.55rem;
    margin-top: -0.5rem;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1399px) {
  .textBlockLight {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .textBlockLight {
    font-size: 1.15rem;
    line-height: 1.5rem;
    margin-bottom: -0.4rem;
    margin-top: -0.3rem;
  }
}

@media screen and (max-width: 767px) {
  .textBlockLight {
    font-size: 1.15rem;
    line-height: 1.5rem;
    margin-bottom: -0.35rem;
    margin-top: -0.35rem;
  }
}

.link {
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: 300;
  .link-arrow .link-arrow__right {
    transform: rotate(-90deg);
  }
  .more-icon {
    position: relative;
    width: 35px;
    overflow: hidden;
    height: 30px;
  }
  .more-icon i {
    transition: all 0.3s;
    font-size: 35px;
    color: inherit;
    position: absolute;
    left: 0;
    top: 0;
  }
  .more-icon i.arrow2 {
    color: #a69683;
    left: -100%;
  }

  &.hoverAni {
    .arrow-hitbox {
      transition: all 0.3s linear;
      transform: translateX(-20px);
      opacity: 0;
    }
    .image {
      transition: transform 0.3s linear;
      &.image--full-height {
        transform-origin: left;
      }
    }
    &:hover {
      filter: brightness(85%);
      transition: filter 0.3s ease-in-out;
      .arrow-hitbox {
        transform: none;
        opacity: 1;
      }
      .link-textmargin {
        text-decoration: underline;
      }
      .more-icon i {
        left: -100%;
      }
      .more-icon i.arrow2 {
        left: 0;
      }
      .image.image--full-height {
        transform: scale(1.15) translateX(-50%);
      }
      .image.image--full-width {
        // transform: scale(1.15) translateY(-50%);
      }
    }
  }
}

@media screen and (min-width: 1024px) and (max-width: 1399px) {
  .link {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .link {
    font-size: 1.15rem;
    line-height: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .link {
    font-size: 1.15rem;
    line-height: 1.5rem;
    &.hoverAni {
      .arrow-hitbox {
        transition: all 0.3s linear;
        transform: translateX(-20px);
        opacity: 0;
      }
      .image {
        transition: transform 0.3s linear;
      }
      &:hover {
        filter: none;
        transition: none;
        .arrow-hitbox {
          transform: none;
          opacity: 1;
        }
        .link-textmargin {
          text-decoration: underline;
        }
        .more-icon i {
          left: -100%;
        }
        .more-icon i.arrow2 {
          left: 0;
        }
        .image.image--full-height {
          transform: scale(1) translateX(-50%);
        }
        .image.image--full-width {
          transform: scale(1) translateY(-50%);
        }
      }
    }
  }
}

.link-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.link-textmargin {
  margin-bottom: -0.4rem;
  margin-top: -0.45rem;
}
@media screen and (min-width: 2200px) {
  .link-textmargin {
    margin-bottom: -0.55rem;
    margin-top: -0.5rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .link-textmargin {
    margin-bottom: -0.4rem;
    margin-top: -0.3rem;
  }
}

@media screen and (max-width: 767px) {
  .link-textmargin {
    margin-bottom: -0.35rem;
    margin-top: -0.35rem;
  }
}

.half-linebreak {
  height: 2.5vh;
  width: 100%;
}
.qtr-linebreak {
  height: 1.25vh;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .qtr-linebreak {
    height: 1.25vh;
  }
}

.desktop-linebreak {
  height: 5vh;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .desktop-linebreak {
    display: none;
  }
}

.mobile-linebreak {
  height: 5vh;
  width: 100%;
  display: none;
}

@media screen and (max-width: 767px) {
  .mobile-linebreak {
    display: block;
  }
}

.mobile-half-linebreak {
  height: 2.5vh;
  width: 100%;
  display: none;
}

@media screen and (max-width: 767px) {
  .mobile-half-linebreak {
    display: block;
  }
}

.tablet-linebreak {
  height: 5vh;
  width: 100%;
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .tablet-linebreak {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .tablet-linebreak {
    display: none;
  }
}

.tablet-spacer {
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .tablet-spacer {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .tablet-spacer {
    display: none;
  }
}

.closeButton {
  font-family: "gilroy", Sans-Serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 300;
  margin-bottom: -0.4rem;
  margin-top: -0.45rem;
  color: #000;
  text-decoration: none;
  display: block;
  border: 1px solid black;
  padding: 15px;
  outline: 0;
}

.thumb {
  position: relative;
  overflow: hidden;
  width: 100%;

  &:before {
    background-color: white;
    display: block;
    content: "";
    width: 100%;
    padding-top: 75%;
  }

  .thumb__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #f1f1f1;
  }
  .thumb__desc {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    background: rgba(34, 34, 34, 0.5);
    padding: 10px 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    &.hoverMove {
      transition: all 0.3s linear;
      transform: translateY(100%);
    }
  }
  .scaleAni {
    transition: all 0.3s linear;
  }

  &:hover {
    .scaleAni {
      transform: translateX(-50%) scale(1.2);
    }
    .thumb__desc {
      &.hoverMove {
        transform: translateY(0);
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .thumb {
    &:hover {
      .thumb__desc {
        &.hoverMove {
          transform: none;
        }
      }
    }
  }
}

.linebreak {
  height: 5vh;
  width: 100%;
}

.article {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background-color: auto;
  justify-content: space-between;
}

.hr-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  left: 0px;
  width: 100%;
  background-color: white;

  .hr {
    height: 1px;
    background-color: black;
    width: 100%;
    padding-left: 7.5%;
    padding-right: 7.5%;
  }
}

.underline {
  transform: translateY(4px);
}

.textBlockLarge {
  font-family: "gilroy", Times New Roman, Serif;
  font-size: 1.9rem;
  line-height: 2.9rem;
}

@media screen and (min-width: 2200px) {
  .textBlockLarge {
    font-size: 2.1rem;
    line-height: 3.1rem;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1399px) {
  .textBlockLarge {
    font-size: 1.7rem;
    line-height: 2.5rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .textBlockLarge {
    font-size: 1.6rem;
    line-height: 2.25rem;
  }
}

@media screen and (max-width: 767px) {
  .textBlockLarge {
    font-size: 1.5rem;
    line-height: 2.15rem;
  }
}

.dbl-linebreak {
  height: 10vh;
  min-height: 100px;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .dbl-linebreak {
    height: 40px;
    min-height: auto;
  }
}
.textBlockLining {
  font-family: "gilroy", Sans-Serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  // font-weight: 300;
  position: relative;
  &::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: black;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

@media screen and (max-width: 767px) {
  .textBlockLining {
    font-size: 1.15rem;
    line-height: 1.5rem;
  }
}

// .gallery {
//   position: relative;
//   display: block;

//   :deep {
//     .swiper {
//       overflow: inherit;
//     }

//     .swiper-button-prev {
//       position: absolute;
//       z-index: 100;
//       width: 50%;
//       height: 100%;
//       opacity: 0;
//       top: 0;
//       margin-top: 0;
//       left: 0;
//       top: 0;
//       right: inherit;
//       cursor: url("/icons/left.png") 0 0, auto;
//     }

//     .swiper-button-next {
//       position: absolute;
//       z-index: 100;
//       width: 50%;
//       height: 100%;
//       opacity: 0;
//       top: 0;
//       margin-top: 0;
//       right: 0;
//       top: 0;
//       left: inherit;
//       cursor: url("/icons/right.png") 0 0, auto;
//     }

//     .swiper-pagination {
//       position: absolute;
//       width: 50%;
//       margin: 0 auto;
//       bottom: 0;
//       top: 100%;
//       left: 0;
//       right: 0;
//       padding-bottom: 5vh;
//       padding-top: 5vh;
//       font-family: "gilroy", Sans-Serif;
//       font-size: 1.25rem;
//       line-height: 1.75rem;
//       font-weight: 300;
//     }
//   }

//   .swiper-arrow {
//     position: absolute;
//     z-index: 100;
//     width: 50%;
//     height: 100%;
//     opacity: 0;
//     top: 0;
//   }

//   .prev {
//     left: 0;
//     display: flex;
//     justify-content: flex-start;
//   }

//   .next {
//     right: 0;
//     display: flex;
//     justify-content: flex-end;
//   }
// }

// @media screen and (max-width: 768px) {
//   .gallery {
//     :deep {
//       .swiper {
//         overflow: inherit;
//       }

//       .swiper-button-prev {
//         display: none;
//       }

//       .swiper-button-next {
//         display: none;
//       }

//       .swiper-pagination {
//         position: relative;
//         padding-bottom: 0;
//         padding-top: 0;
//       }
//     }

//     .prev {
//       display: none;
//     }

//     .next {
//       display: none;
//     }
//   }
// }

.uncropped {
  text-align: center;
  position: relative;
  width: 100%;
  height: 75vh;
}

@media screen and (max-width: 767px) {
  .uncropped {
    height: 65vh;
  }

  .project-details {
    width: 100%;
    flex-flow: column wrap;
    padding-top: 2.5vh;
    padding-bottom: 0;
    font-size: 1.125rem;
  }

  .project-name {
    width: 100%;
  }
}

.contain-image {
  display: inline-block;
  opacity: 0;
  transition: 0.5s ease opacity;
  object-fit: contain;
  object-position: 50% 50%;
  width: 100%;
  max-width: 75vw;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .contain-image {
    max-width: 100%;
    padding: 20px;
  }
}

.contain-image.image--loaded {
  opacity: 1;
}

.richText {
  font-size: 1.15rem;
  line-height: 1.4;
  width: 100%;
}

.square {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.square:before {
  background-color: white;
  display: block;
  content: "";
  width: 100%;
  padding-top: 100%;
}

.square .square__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #f1f1f1;
}
